projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e26864
)
vulkan: Quiet another validation warning
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 21 Sep 2017 16:05:00 +0000
(12:05 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 21 Sep 2017 16:05:00 +0000
(12:05 -0400)
It complains if a vertex shader has an out that is not matched
to an in of the fragment shader.
gsk/resources/vulkan/outset-shadow.frag
patch
|
blob
|
history
diff --git
a/gsk/resources/vulkan/outset-shadow.frag
b/gsk/resources/vulkan/outset-shadow.frag
index 419e458f279116fa04c6f19c6c20f2d2a17ffd12..30b0f9d94bbb994e4206a1ad8dfffd82f8216f50 100644
(file)
--- a/
gsk/resources/vulkan/outset-shadow.frag
+++ b/
gsk/resources/vulkan/outset-shadow.frag
@@
-10,6
+10,7
@@
layout(location = 3) in flat vec4 inOutlineCornerHeights;
layout(location = 4) in flat vec4 inColor;
layout(location = 5) in flat vec2 inOffset;
layout(location = 6) in flat float inSpread;
+layout(location = 7) in flat float inBlurRadius;
layout(location = 0) out vec4 color;